package com.goldenKey.admin.pojo.query;

import com.goldenKey.common.constant.Constant;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

@Data
public class AccountQuery {

    @NotEmpty
    private String account;

    @NotEmpty
    @Pattern(regexp = Constant.REGEX_PASSWORD)
    private String password;

    @NotEmpty
    private String captchaKey;
    @NotEmpty
    private String captcha;
}
